package commonAdmin.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import commonAdmin.domain.Game;
import commonAdmin.service.BaseService;
import commonAdmin.service.GameService;

/**
 *
 *@author Jack
 *2016年2月15日下午9:07:35
 */
@Controller
@RequestMapping("game")
public class GameController extends CRUDController<Game, Long> {

	@Autowired
	private GameService gameService;

	@Override
	public BaseService<Game, Long> getService() {
		return gameService;
	}

	@Override
	public String getViewFloder() {
		return "game";
	}
	
	

}
